<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qevent.cpp -->
  <title>Obsolete Members for QTabletEvent | Qt GUI 5.14.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.14</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QTabletEvent</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.14.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Obsolete Members for QTabletEvent</h1>
<p><b>The following members of class <a href="qtabletevent.html">QTabletEvent</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
<h2>Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code></td><td class="memItemRight bottomAlign"><b><a href="qtabletevent-obsolete.html#QTabletEvent">QTabletEvent</a></b>(QEvent::Type <i>type</i>, const QPointF &amp;<i>pos</i>, const QPointF &amp;<i>globalPos</i>, int <i>device</i>, int <i>pointerType</i>, qreal <i>pressure</i>, int <i>xTilt</i>, int <i>yTilt</i>, qreal <i>tangentialPressure</i>, qreal <i>rotation</i>, int <i>z</i>, Qt::KeyboardModifiers <i>keyState</i>, qint64 <i>uniqueID</i>)</td></tr>
</table></div>
<h2>Member Function Documentation</h2>
<!-- $$$QTabletEvent[overload1]$$$QTabletEventQEvent::TypeconstQPointF&constQPointF&intintqrealintintqrealqrealintQt::KeyboardModifiersqint64 -->
<h3 class="fn" id="QTabletEvent"><a name="QTabletEvent"></a>QTabletEvent::<span class="name">QTabletEvent</span>(<span class="type"><a href="../qtcore/qevent.html#Type-enum">QEvent::Type</a></span> <i>type</i>, const <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span> &amp;<i>pos</i>, const <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span> &amp;<i>globalPos</i>, <span class="type">int</span> <i>device</i>, <span class="type">int</span> <i>pointerType</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>pressure</i>, <span class="type">int</span> <i>xTilt</i>, <span class="type">int</span> <i>yTilt</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>tangentialPressure</i>, <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>rotation</i>, <span class="type">int</span> <i>z</i>, <span class="type"><a href="../qtcore/qt.html#KeyboardModifier-enum">Qt::KeyboardModifiers</a></span> <i>keyState</i>, <span class="type"><a href="../qtcore/qtglobal.html#qint64-typedef">qint64</a></span> <i>uniqueID</i>)</h3>
<p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Construct a tablet event of the given <i>type</i>.</p>
<p>The <i>pos</i> parameter indicates where the event occurred in the widget; <i>globalPos</i> is the corresponding position in absolute coordinates.</p>
<p><i>pressure</i> contains the pressure exerted on the <i>device</i>.</p>
<p><i>pointerType</i> describes the type of pen that is being used.</p>
<p><i>xTilt</i> and <i>yTilt</i> contain the device's degree of tilt from the x and y axes respectively.</p>
<p><i>keyState</i> specifies which keyboard modifiers are pressed (e.g&#x2e;, <b>Ctrl</b>).</p>
<p>The <i>uniqueID</i> parameter contains the unique ID for the current device.</p>
<p>The <i>z</i> parameter contains the coordinate of the device on the tablet, this is usually given by a wheel on 4D mouse. If the device does not support a Z-axis, pass zero here.</p>
<p>The <i>tangentialPressure</i> parameter contins the tangential pressure of an air brush. If the device does not support tangential pressure, pass 0 here.</p>
<p><i>rotation</i> contains the device's rotation in degrees. 4D mice support rotation. If the device does not support rotation, pass 0 here.</p>
<p><b>See also </b><a href="qtabletevent.html#pos">pos</a>(), <a href="qtabletevent.html#globalPos">globalPos</a>(), <a href="qtabletevent.html#device">device</a>(), <a href="qtabletevent.html#pressure">pressure</a>(), <a href="qtabletevent.html#xTilt">xTilt</a>(), <a href="qtabletevent.html#yTilt">yTilt</a>(), <a href="qtabletevent.html#uniqueId">uniqueId</a>(), <a href="qtabletevent.html#rotation">rotation</a>(), <a href="qtabletevent.html#tangentialPressure">tangentialPressure</a>(), and <a href="qtabletevent.html#z">z</a>().</p>
<!-- @@@QTabletEvent -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
